package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.SetmealDto;
import com.itheima.entity.PageReq;
import com.itheima.entity.PageRes;
import com.itheima.pojo.Setmeal;
import com.itheima.vo.SetmealPieVO;
import com.itheima.vo.SetmealVO;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    public boolean saveSetmeal(SetmealDto setmealDto);

    public boolean deleteById(Long id);

    public PageRes<Setmeal> findByPage(PageReq req);

    public boolean clearOssObject();

    public List<Setmeal> findAll();

    public SetmealVO getInfo(Long id);

    SetmealVO getDetail(Long id);

    SetmealPieVO getSetmealPieData();
}
